Merged
Conversation
adrianlizarraga
commented
Oct 27, 2025
snnn
previously approved these changes
Oct 27, 2025
Contributor
snnn
left a comment
There was a problem hiding this comment.
The changes in this PR correctly update the API version to 24 and the library version to "1.24.0". The modifications are consistent across the files and follow good engineering practices for versioning and maintaining API stability.
snnn
approved these changes
Oct 27, 2025
naomiOvad
pushed a commit
to naomiOvad/onnxruntime
that referenced
this pull request
Nov 2, 2025
### Description - Updates the `ORT_API_VERSION` value in onnxruntime_c_api.h to `24`. - Edit documentation for the `TensorTypeAndShape_HasShape` API function to indicate the correct API version (1.24). - Adds `static_assert` to ensure that API functions for 1.23 are not added or removed. ### Motivation and Context The version of ORT was previously updated to 1.24.0 but we forgot to update `ORT_API_VERSION`.
This was referenced Feb 9, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Description
ORT_API_VERSIONvalue in onnxruntime_c_api.h to24.TensorTypeAndShape_HasShapeAPI function to indicate the correct API version (1.24).static_assertto ensure that API functions for 1.23 are not added or removed.Motivation and Context
The version of ORT was previously updated to 1.24.0 but we forgot to update
ORT_API_VERSION.